(:: pragma bea:global-element-parameter parameter="$configurationCheck1" element="ns0:ConfigurationCheck" location="../WSDLs/ConfigurationCheck.wsdl" ::)
(:: pragma bea:global-element-return element="ns1:SubmitOrder" location="../WSDLs/SubmitOrder.wsdl" ::)

declare namespace ns1 = "http://www.example.org/SubmitOrder/";
declare namespace ns0 = "http://www.example.org/ConfigurationCheck/";
declare namespace xf = "http://tempuri.org/ActivateNewCustomer/Prxoy_Service/test/";

declare function xf:test($configurationCheck1 as element(ns0:ConfigurationCheck))
    as element(ns1:SubmitOrder) {
        <ns1:SubmitOrder>
            <offerId>{ data($configurationCheck1/offerId) }</offerId>
            <mvnoID>{ data($configurationCheck1/mvnoID) }</mvnoID>
            <clearwireMarketID>{ data($configurationCheck1/clearwireMarketID) }</clearwireMarketID>
            <SKU>{ data($configurationCheck1/SKU) }</SKU>
            <realm>{ data($configurationCheck1/realm) }</realm>
            <lbsType>{ data($configurationCheck1/lbsType) }</lbsType>
            <mvnoReferenceNumber>{ data($configurationCheck1/mvnoReferenceNumber) }</mvnoReferenceNumber>
            <customer_id>{ data($configurationCheck1/customer_id) }</customer_id>
            <service_id>{ data($configurationCheck1/service_id) }</service_id>
            <mvnoMarketID>{ data($configurationCheck1/mvnoMarketID) }</mvnoMarketID>
            <macID>{ data($configurationCheck1/macID) }</macID>
        </ns1:SubmitOrder>
};

declare variable $configurationCheck1 as element(ns0:ConfigurationCheck) external;

xf:test($configurationCheck1)